package com.topc.code.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.topc.base.model.PageResult;
import com.topc.problem.model.dto.QueryProblemUserMidDto;
import com.topc.problem.model.po.ProblemUserMid;


public interface IProblemUserMidService extends IService<ProblemUserMid>{
    PageResult<ProblemUserMid> searchByPage(int pageSize, int pageCurrent, QueryProblemUserMidDto queryProblemUserMidDto);

    boolean insertCommit(ProblemUserMid problemUserMid);

    boolean ifExistInfo(Long problemId, String userNumber,Long competitionId);

    void MongodbTest();

    void updateCompetitionScore(ProblemUserMid problemUserMid);
}
